package com.mysteel.cyx.demo.biz.export.bo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.alibaba.excel.annotation.write.style.ContentFontStyle;
import com.alibaba.excel.annotation.write.style.ContentRowHeight;
import com.alibaba.excel.annotation.write.style.ContentStyle;
import com.alibaba.excel.annotation.write.style.HeadFontStyle;
import com.alibaba.excel.annotation.write.style.HeadRowHeight;
import com.alibaba.excel.enums.BooleanEnum;
import com.alibaba.excel.enums.poi.HorizontalAlignmentEnum;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @author Vicky(陈烟星)
 * @date 2024/6/21 13:24
 */
@Data
@NoArgsConstructor
@ExcelIgnoreUnannotated
@HeadFontStyle(fontName = "宋体", fontHeightInPoints = 10,bold = BooleanEnum.FALSE)
@ContentFontStyle(fontName = "宋体",fontHeightInPoints = 10)
@ContentStyle(horizontalAlignment = HorizontalAlignmentEnum.CENTER)
@ContentRowHeight(12)
@HeadRowHeight(18)
@ColumnWidth(15)
public class SerialNoBO implements Serializable {
    /**
     * 序号
     */
    @ExcelProperty(value = "编号",index = 0)
    private Integer serialNo;
}
